package com.yh.homestay.service;

import com.yh.homestay.common.HomeStayResult;
import com.yh.homestay.pojo.GuestsDriver;

import java.util.List;

public interface GuestsDriverService {

    HomeStayResult showDriver(Integer page, Integer limit, String driverName);

    HomeStayResult insertDriver(GuestsDriver guestsDriver);

    HomeStayResult deleteDriver(Integer id);

    HomeStayResult updateDriver(GuestsDriver guestsDriver);

    HomeStayResult selectOneDriver(Integer id);

    HomeStayResult deleteBatchDriver(List<Integer> ids);
}
